:root {
    --body-font: 18px;
    --body-height: 30px;
    --body-padding: 30px;
}

body{
    background-color: #FFF9EE ;
    margin : 0 auto;
    box-sizing: border-box;
}

p{
    text-align: left;
    font-size: var(--body-font);
    line-height: var(--body-height);
}

h1 {
    text-align: left;
    font-size: 35px;
    line-height: 50px;
    font-weight: lighter;
}

h2{
    text-align: left;
    font-size: 29px;
    line-height: 39px;
}

img{
    width: 100%;
}

.page {
    font-family: sans-serif;
}

.page.full-page {
    height: 100vh;    
}

.white-bg {
    color : #657FFF 
}

.blue-bg {
    background: #657FFF;
    color: #FFFFFF;
}

.hero {
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--body-padding);
    flex-grow: 1;
    flex-basis: 50%;
    display: flex;
    align-items: flex-end; 
}

.text_p1, .logo {
    width: 100%;
    max-width: 960px; 
}

.img1 {
    flex-grow: 1;
    flex-basis: 50%;
    position: relative;
}

.img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split{
    opacity: 0;
}

.subttl{
    font-weight: bold;
}


.container{
    display: flex;
    flex-direction: column;
    padding: var(--body-padding);
    margin-right: auto;
    margin-left: auto;
    max-width: 1920px;
}

.container-content2{
    padding-bottom: var(--body-padding)
}

.text1_p2,.text1_p3{
    width: 55%;
}

.text_p2{
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #657FFF;
}

.specialistiche{
    width: 35%;
}

.descript{
    width: fit-content;
}

.sub_title{
    width: fit-content;
}

.container2{
    display: flex;
    padding-top: 20px;
}

.info-text{
    margin: 0 auto;
    padding-bottom: var(--body-padding)
}


.img2,.img3{
    width: 55%;
}

.infobox{
    padding-left: 140px;
}

.container3{
    display: flex;
}


.txtcontainer{
    display: flex;
    justify-content: space-around;
    width: 75%;
}

.img3 {
    padding-right: 5%;
    display: flex; 
}

.img3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container-content3{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.text1_p4{
    width: 100%;
}

.fixed-button-wrapper {
    position: fixed; 
    bottom: 30px; 
    left: 0;
    right: 0;
    text-align: center; 
    z-index: 1000; 
}

.btn-primary {
    border: none;
    display: inline-block;
    padding: 12px var(--body-padding); 
    border-radius: 50px; 
    cursor: pointer; 
    color: #000000; 
    font-size: 16px;
    background: linear-gradient(180deg,rgba(255, 255, 255, 0.7)); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.2s ease-in-out; 
}

.btn-primary:hover {
    color: #FFFFFF; 
    background: #657FFF; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
    transform: translateY(-1px); 
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden; 
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

@media screen and (max-width:1500px){
    .container3{
        flex-direction: column;
    }

    .container-content3{
        width: 100%;
        padding-top: var(--body-padding);
    }

    .img3{
        width: 100%;
        padding-right: 0;
    }

    .specialistiche{
        padding-right: 10px;
    }
}

@media screen and (max-width:1024px)
{   
    .fondopg{
        flex-wrap: wrap;
    }

    .page.full-page{
        height: fit-content;
    }

    .text1_p2, .text1_p3{
        width: 100%;
    }

    .text1_p2 h1,.text1_p3 h1{
        width: fit-content;
    }

}

@media screen and (max-width:768px)
{   
    .hero{
        flex-direction: column;
    }

    .hero-content {
        padding-left: var(--body-padding) !important;
        flex-basis: 100%;
    }

    .text_p2{
        flex-direction: column;
    }

    .container2{
        flex-direction: column;
    }

    .img2{
        width: 100%;
        padding-right: 0;
    }

    .infobox{
        padding-left: 0;
        padding-top: 40px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .info-text{
        margin:0;
    }

    .fondopg{
        flex-wrap: nowrap;
        flex-direction: column;
        padding-top: 50px;
        padding-right: 0;
        align-items: flex-start;
    }

    .fondopg div{
        padding-right: 0;
    }

    .txtcontainer{
        width: 100%;
        justify-content: space-between;
    }

    .specialistiche{
        width: fit-content;
    }

} 

@media screen and (max-width:480px)
{   
    .infobox{
        flex-direction: column;
        align-items: flex-start;
    }

    .txtcontainer{
        flex-direction: column;
    }
}